<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$title?></title>
<link href="<?=base_url()?>required/admin_themes/default/css/admin.css" rel="stylesheet" type="text/css" />
<link href="<?=base_url()?>required/admin_themes/default/css/winterblues.css" rel="stylesheet" type="text/css" />
<link href="<?=base_url()?>required/admin_themes/default/css/style.css" rel="stylesheet" type="text/css" />
<link href="<?=base_url()?>required/admin_themes/default/css/superfish.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="<?=base_url()?>required/js/jquery.js"></script> 
<script type="text/javascript" src="<?=base_url()?>required/js/menu/hoverIntent.js"></script> 
<script type="text/javascript" src="<?=base_url()?>required/js/menu/superfish.js"></script> 
 

<script type="text/javascript"> 
 
    $(document).ready(function(){ 
        $("ul.sf-menu").superfish(); 
    }); 
 
</script>
</head>

<body>
<div id="beta-version"></div>
<div id="product-name"></div>
<div id="company-name"></div>


<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td class="BaseTopLeft">&nbsp;</td>
    <td class="BaseTopCenter">&nbsp;</td>
    <td class="BaseTopRight">&nbsp;</td>
  </tr>
  <tr>
    <td class="BaseMiddleLeft">&nbsp;</td>
    <td class="BaseMiddleCenter">

 <p >&nbsp;</p> 
 <div class="nav-container-outer">
   <ul id="nav-container" class="sf-menu">
					<li><?=anchor('admin/index','Home');?></li>
                    <li class="current">
						<a class="item-primary" href="#a">Create</a>
						<ul>
							 <li><?=anchor('admin/CreateBlog','Create New Blog');?></li>
                             <li><?=anchor('admin/CreatePage','Create New Page');?></li>
                             <li><?=anchor('admin/CreateCategory','Create New Category');?></li>   
                              <li><?=anchor('admin/CreateUser','Create New User');?></li>      
                  		</ul>
	 </li>

					<li>
						<a class="item-primary"  href="#">Manage</a>
						<ul>
							 <li><?=anchor('admin/ManageBlogs','Manage Blogs');?></li>
                             <li><?=anchor('admin/ManagePages','Manage Pages');?></li>
                             <li><?=anchor('admin/ManageUsers','Manage Users');?></li>
                             <li><?=anchor('admin/ManageComments','Manage Comments');?></li>
                             <li><?=anchor('admin/ManageCategories','Manage Categories');?></li>
					    </ul>
					</li>
					<li>
						<a href="#">Settings</a>
						<ul>
						  <li><?=anchor('admin/GeneralSettings','General Settings');?></li>
               			  <li><?=anchor('admin/AdvancedSettings','Advanced Settings');?></li>
                          <li><?=anchor('admin/Themes','Themes');?></li>
       				 </ul>
					</li>
                    <li><a class="item-primary" href="#">About</a>
                      <ul style="width:150px;">
                         <li><span class="item-secondary-title" >About Product</span></li>
                         <li><?=anchor('admin/About','About');?></li>
                         <li><?=anchor('admin/License','License');?></li>
                         <li><?=anchor('admin/Help','Help');?></li>
                         <li><span class="item-secondary-title" >Developers</span></li>
                         <li><?=anchor('admin/Credits','Credits');?></li>
                         <li><?=anchor('admin/Credits','Special Thanks');?></li>
                         </ul>
                     </li>
                     <li><?=anchor('admin/Logout','Logout');?></li>
  </ul>

</div> 
   
     
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td class="SubBaseTopLeft">&nbsp;</td>
          <td class="SubBaseTopCenter">&nbsp;</td>
          <td class="SubBaseTopRight">&nbsp;</td>
        </tr>
        <tr>
          <td class="SubBaseMiddleLeft">&nbsp;</td>
          <td class="SubBaseMiddleCenter"> <?php  if($this->uri->segment(2)=="CreateBlog" or $this->uri->segment(2)=="EditPage" or $this->uri->segment(2)=="EditBlog"or $this->uri->segment(2)=="CreatePage") { echo $content; }else {?><div id="outer-collection" ><?=$content?></div><?php }?></td>
          <td class="SubBaseMiddleRight">&nbsp;</td>
        </tr>
        <tr>
          <td class="SubBaseBottomLeft">&nbsp;</td>
          <td class="SubBaseBottomCenter">&nbsp;</td>
          <td class="SubBaseBottomRight">&nbsp;</td>
        </tr>
      </table>
      </td>
    <td class="BaseMiddleRight">&nbsp;</td>
  </tr>
  <tr>
    <td class="BaseBottomLeft">&nbsp;</td>
    <td class="BaseBottomCenter">&nbsp;</td>
    <td class="BaseBottomRight">&nbsp;</td>
  </tr>
</table>
</body>
</html>
